<!DOCTYPE html>
<html>
<head>
    <title>选择影片</title>
    <link href="http://120.79.35.160/css/bootstrap.css" rel='stylesheet' type='text/css'/>
    <!-- Custom Theme files -->
    <link href="http://120.79.35.160/css/style.css" rel="stylesheet" type="text/css" media="all"/>
    <!-- Custom Theme files -->
    <script src="http://120.79.35.160/js/jquery.min.js"></script>
    <script src="http://120.79.35.160/js/bootstrap.min.js"></script>
    <!-- Custom Theme files -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="keywords" content="My Show Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"/>
    <script type="application/x-javascript"> addEventListener("load", function () {
        setTimeout(hideURLbar, 0);
    }, false);

    function hideURLbar() {
        window.scrollTo(0, 1);
    } </script>
    <!--webfont-->
    <link href='http://fonts.useso.com/css?family=Oxygen:400,700,300' rel='stylesheet' type='text/css'>
    <link href='http://fonts.useso.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
    <!-- start menu -->
    <link href="http://120.79.35.160/css/megamenu.css" rel="stylesheet" type="text/css" media="all"/>
    <script type="text/javascript" src="http://120.79.35.160/js/megamenu.js"></script>
    <script>$(document).ready(function () {
        $(".megamenu").megamenu();
    });</script>
    <script type="text/javascript" src="http://120.79.35.160/js/jquery.leanModal.min.js"></script>
    <link rel="stylesheet" href="http://120.79.35.160/css/font-awesome.min.css"/>
    <script src="http://120.79.35.160/js/easyResponsiveTabs.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#horizontalTab').easyResponsiveTabs({
                type: 'default', //Types: default, vertical, accordion
                width: 'auto', //auto or any width like 600px
                fit: true   // 100% fit in a container
            });
        });
    </script>
    <link rel="stylesheet" href="http://120.79.35.160/css/menu.css"/>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <!---- start-smoth-scrolling---->
    <script type="text/javascript" src="http://120.79.35.160/js/move-top.js"></script>
    <script type="text/javascript" src="http://120.79.35.160/js/easing.js"></script>
    <script type="text/javascript">
        jQuery(document).ready(function ($) {
            $(".scroll").click(function (event) {
                event.preventDefault();
                $('html,body').animate({scrollTop: $(this.hash).offset().top}, 1200);
            });
        });
    </script>
    <!---- start-smoth-scrolling---->
</head>
<body>
<!-- header-section-starts -->
<link href='http://120.79.35.160/css/popuo-box.css' rel='stylesheet' type='text/css' media='all'/>
<script type="text/javascript" src="http://120.79.35.160/js/login.js"></script>
<div class="container">
    <div class="main-content">
        <script type="text/javascript" src="http://120.79.35.160/js/head.js"></script>

        <div class="now-showing-list">
            <div class="col-md-4 movies-by-category movie-booking">
                <img id = "videoImage" src="http://120.79.35.160/images/movie-show.jpg" alt="我是图片" />
                <div class="bahubali-details">
                    <h4>电影名</h4>
                    <p><span id = "videoName">我是电影名</span></p>

                    <h4>影片时长：</h4>
                    <p><span id = "lastingTime">我是时长</span>分钟</p>

                    <h4>本片语言：</h4>
                    <p><span id = "videoLanguage">我是语言</span></p>

                    <h4>上映日期</h4>
                    <p><span id = "showTime">上映时间</span></p>
                </div>
            </div>
        </div>
        <!--加载页面完成后立马加载Url信息-->
        <script type="text/javascript">
            <!---->
            $(window).load(function () {

                setVideo();
                alert(videoName);
            });
            //
            var getParam = function(name){
                var search = document.location.search;
                alert(search);
                var pattern = new RegExp("[?&]"+name+"\=([^&]+)", "g");
                var matcher = pattern.exec(search);
                var items = null;
                if(null != matcher){
                    try{
                        items = decodeURIComponent(decodeURIComponent(matcher[1]));
                    }catch(e){
                        try{
                            items = decodeURIComponent(matcher[1]);
                        }catch(e){
                            items = matcher[1];
                        }
                    }
                }
                return items;
                };
            function setVideo(){
                var videoName = getParam('videoName');
                var videoLanguage = getParam('videoLanguage');
                var lastingTime = getParam('lastingTime');
                var showTime = getParam('showTime');
                var imagUrl = getParam('imagUrl');
                var videoUrl = getParam('videoUrl');

                var elementImage = document.getElementById("videoImage");
                elementImage.src = imagUrl

                $("#videoName").html(videoName);
                $("#videoLanguage").html(videoLanguage);
                $("#lastingTime").html(lastingTime);
                $("#showTime").html(showTime);
            }

        </script>


        <div class="col-md-8 movies-dates">
            <div class="movie-date-selection">
                <ul>
                    <li class="location">
                        <a href="pic-a-movie.html"><i class="fa fa-map-marker"></i>fivus</a>
                    </li>
                    <li class="time">
                        <a href="movie-payment.html">在线观看</a>
                    </li>
                </ul>
            </div>
            <div class="movie-date-selection">
                <ul>
                    <li class="location">
                        <a href="pic-a-movie.html"><i class="fa fa-map-marker"></i>爱奇艺</a>
                    </li>
                    <li class="time">
                        <a href="movie-payment.html">在线观看</a>
                    </li>
                </ul>
            </div>
            <div class="movie-date-selection">
                <ul>
                    <li class="location">
                        <a href="pic-a-movie.html"><i class="fa fa-map-marker"></i>优酷</a>
                    </li>
                    <li class="time">
                        <a href="movie-payment.html">在线观看</a>
                    </li>
                </ul>
            </div>
            <div class="movie-date-selection">
                <ul>
                    <li class="location">
                        <a href="pic-a-movie.html"><i class="fa fa-map-marker"></i>百度云</a>
                    </li>
                    <li class="time">
                        <a href="movie-payment.html">在线观看</a>
                    </li>
                </ul>
            </div>
            <div class="movie-date-selection">
                <ul>
                    <li class="location">
                        <a href="pic-a-movie.html"><i class="fa fa-map-marker"></i>腾讯视频</a>
                    </li>
                    <li class="time">
                        <a href="movie-payment.html">在线观看</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
    <script type="text/javascript" src="http://120.79.35.160/js/footer.js"></script>
</div>
<script src="http://120.79.35.160/js/responsive-tabs.js"></script>
<script type="text/javascript">
    $('#myTab a').click(function (e) {
        e.preventDefault();
        $(this).tab('show');
    });

    $('#moreTabs a').click(function (e) {
        e.preventDefault();
        $(this).tab('show');
    });

    (function ($) {
        // Test for making sure event are maintained
        $('.js-alert-test').click(function () {
            alert('Button Clicked: Event was maintained');
        });
        fakewaffle.responsiveTabs(['xs', 'sm']);
    })(jQuery);

</script>
<script type="text/javascript">
    $(document).ready(function () {
        /*
        var defaults = {
              containerID: 'toTop', // fading element id
            containerHoverID: 'toTopHover', // fading element hover id
            scrollSpeed: 1200,
            easingType: 'linear'
         };
        */

        $().UItoTop({easingType: 'easeOutQuart'});

    });
</script>
<a href="#home" class="scroll" id="toTop" style="display: block;"> <span id="toTopHover"
                                                                         style="opacity: 1;"> </span></a>
</body>
</html>